package com.projectpractice.service;


import com.projectpractice.bean.User;

import java.util.List;

public interface UserService {

    public User regist(User user);

//    public User login(User user);

    public User forget(User user);

    public List<User> list();

    int delete(Integer id);

    User getUserById(Integer id);

    int update(User u);

    User getUserByName(String name);
}

